package com.googlecode.stateless4j.delegates;

/**
 * Use this in place of {@link Runnable} when the runnable needs access to the Trigger or State.
 *
 */
public interface UnhandledTransitionRunnable<TState, TTrigger> extends Runnable
{

    /**
     * @param trigger Trigger associated with the transition.
     */
    public void setTrigger(TTrigger trigger);

    /**
     * @param state State associated with the transition.
     */
    public void setState(TState state);
}
